home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: delta / whiteline CD Series - delta.iso / tex / style / misc / rmthm.sty < prev    next >
Text File  |  1995-11-25  |  908b  |  24 lines

  1. % rmthm.sty, by nico@cs.ruu.nl
  2. % This version is of 14 June 1991.
  3. % You can change the style in which your \newtheorems are typeset with
  4. % \renewcommand{\theoremstyle}{...}.
  5. % Default is \rm (hence the name of this file).
  6. % You can also specify an end-of-theorem marker with
  7. % \renewcommand{\theoremclosing}{...}.
  8. % Default is a box flushed right.
  9. % If you don't want your theorems to be numbered, number them like
  10. % the nonumtheorem theorem environment, i.e.
  11. % \newtheorem{thm}[nonumthm]{Thm}.
  12.  
  13. \def\@begintheorem#1#2{\theoremstyle 
  14.                        \trivlist \item[\hskip \labelsep{\bf #1\ #2}]}
  15. \def\@opargbegintheorem#1#2#3{\theoremstyle 
  16.                        \trivlist \item[\hskip \labelsep{\bf #1\ #2\ (#3)}]}
  17. \def\@endtheorem{\nopagebreak\theoremclosing\endtrivlist}
  18. \def\theoremstyle{\rm}
  19. \def\theoremclosing{\hfill$\Box$}
  20. \newtheorem{nonumthm}{\relax}
  21. \renewcommand{\thenonumthm}{\relax}
  22.  
  23.  
  24.